#ifndef _PATHFIND_AGENT_LOAD_HANDLER__
#define _PATHFIND_AGENT_LOAD_HANDLER__

#include "hikari.h"

class PathFindAgentHComponent:public hComponent{
private:
	float x;
	float y;
	float z;
	NavmeshRegion*lastNavmeshRegion;
	int lastNavmeshX;
	int lastNavmeshY;
public:

	PathFindAgentHComponent(HObj*object){
		lastNavmeshRegion=NULL;
		lastNavmeshX=-1;
		lastNavmeshY=-1;
		x=0;
		y=0;
		z=0;
	}

	virtual void update(HikariContext*context, HObj*object);

	virtual void onSceneLoad(HikariContext*context, HObj*object);

	virtual void onSceneUnload(HikariContext*context, HObj*object);

	virtual void onRender(HikariContext*context, HObj*object);
};

#endif